package com.base_data_handler.sx.task;

import java.util.logging.Logger;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.base_data_handler.sx.handler.SX_DataClear_Handler;

public class SX_DataClear_Task implements Job {
	private static final Logger log = Logger.getLogger(SX_Warning_Task.class.getName());

	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		// TODO Auto-generated method stub
		try {
			log.info("陕西过期数据数据清除，每天晚上4点钟清除过期数据");
			SX_DataClear_Handler.delClear();
		} catch (Exception e) {
		   log.info("陕西过期数据数据清除，每天晚上4点钟清除过期数据" + e.getMessage());
			e.printStackTrace();
		}
	}

}
